package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemDictionaryMapper {
    void deleteByPrimaryKey(Long id);

    void insert(@Param("systemDictionary") SystemDictionary systemDictionary);

    SystemDictionary selectByPrimaryKey(Long id);

    List<SystemDictionary> selectAll();

    void updateByPrimaryKey(@Param("systemDictionary") SystemDictionary systemDictionary);

    List<SystemDictionary> queryAll(SystemDictionaryQueryObject qo);

    List<SystemDictionary> selectByBs(String business);

    List<SystemDictionary> selectByParentId(Long parentId);

    List<SystemDictionary> selectByPid(int i);

    List<SystemDictionary>  selectChild(Long pId);
}